package com.ak.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 自研游戏开奖记录表(PnGameRecord)表实体类
 *
 * @author makejava
 * @since 2024-05-20 11:25:00
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("pn_game_record")
public class PnGameRecord extends Model<PnGameRecord> {

    //主键id
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //游戏id
    private String gameId;
    //游戏局数id
    private String recordId;
    //游戏开始时间
    private Date startTime;
    //游戏结束时间
    private Date endTime;
    //下注结束时间
    private Date betEndTime;
    //本局中奖的倍数
    private BigDecimal awardMultiple;
    //本局游戏的赢奖金额
    private BigDecimal win;
    //所有用户本局比赛结果
    private String allBet;

}
